package com.yizhuoyan.his.webapi.controller.admin.vo;

import com.yizhuoyan.his.entity.SysRoleEntity;
import lombok.Data;

@Data
public class SysRoleVo {
    private Long id;
    private String code;
    private String name;
    private String remark;
    public  static  SysRoleVo of(SysRoleEntity e){
        SysRoleVo vo=new SysRoleVo();
        vo.setId(e.getId());
        vo.setCode(e.getCode());
        vo.setName(e.getName());
        vo.setRemark(e.getRemark());
        return vo;
    }

}
